	var okSaveButton = "<%=com.epro.standard.frontend.util.StringUtil.encode2Thai(com.epro.standard.frontend.datasetup.MessageManager.getString("okFormSubmitMessage"))%>";
	var cancelSaveButton = "<%=com.epro.standard.frontend.util.StringUtil.encode2Thai(com.epro.standard.frontend.datasetup.MessageManager.getString("cancelFormSubmitMessage"))%>";

				if(showOConfirmDialog("<%=com.epro.standard.frontend.util.StringUtil.encode2Thai(com.epro.standard.frontend.datasetup.MessageManager.getString("saveFormSubmitMessage"))%>", "<%=com.epro.standard.frontend.util.StringUtil.encode2Thai(com.epro.standard.frontend.datasetup.MessageManager.getString("saveFormSubmitMessage"))%> ?", okSaveButton, cancelSaveButton) == 1)
				{
                            try{
                                 programLayer.style.visibility='hidden';
                                 processingLayer.style.visibility='visible';
                            }catch(error){
                              
                            }
                            frm.submit();
				}
